package com.itheima.provider.dao;

import com.itheima.provider.domain.Goods;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: ly
 * @Date: 2021/08/18/21:34
 * @Description:
 */
@Component
public class GoodsDao {

    public Goods finOne(int id){
        return  new Goods(1,"华硕电脑",4500.5,30);
    }

}
